import http from '../utils/http'

let requestUrl = "tags"

export default {
    getTagList() {
        return http.requestGet(`${requestUrl}/getTagsList`)
    },
    getArticleListByTagName(tagName) {
        return http.requestGet(`${requestUrl}/getArticleListByTagName/${tagName}`)
    }
}